package com.java.comprehensive.design.behavioral_model.chain_of_responsibility_pattern;


public class GeneralManager extends Handler {
    public GeneralManager() {
        super(NO_THREE, Handler.NO_SEVEN);
    }

    @Override
    protected void handlerLeave(LeaveRequest leave) {
        System.out.println(leave.getName() + "请假" + leave.getNum() + "天，" + leave.getContent() + "。");
        System.out.println("总经理审批同意");
        System.out.println("=====================================================================");
    }
}
